import React from 'react';
import { Breadcrumb } from 'antd'
import {ButtonComp, PageHeaderComp, GlobalProvider} from 'jh-lib';
import SaveBtn from "../../ButtonComp";
// import ExportComp from "../../ExportComp";
export default class Test extends React.Component{
    state = {
        detailLoading:false
    };
    cancel = ()=>{
        this.setState({detailLoading:false})
    };
    render(){
        const fAction = <>
            <SaveBtn>
                新增
            </SaveBtn>
            {/*<ExportComp />*/}
        </>;
        const breadcrumbList= [
            {
                title:'Home',
                path: ''
            },
            {
                title:'React',
                path: ''
            },
            {
                title:'Vue',
                path: ''
            },
            {
                title:'Antd',
                path: ''
            },
        ]
        return (
            <>
                <GlobalProvider>
                    <PageHeaderComp
                        title='测试'
                        breadcrumbList={breadcrumbList}
                        action={fAction}
                    />

                </GlobalProvider>
            </>)
    }
}
